﻿<include file="App/Home/Iphone/Public/header.html" />
			<div class="Wf-div1">
				<a onclick="history.back(-1)">返回</a>
				<span>修改交易密码</span><strong style="color:red"></strong>
			</div>
			<div class="strip"></div>

			<!--登录密码盒子 开始-->
			<!--<div class="cb-box1 tb-box1" id="tagContent0" style="">-->
				<!--<form method="post" onsubmit="return false;" onkeydown="if (event.keyCode == 13) {return false;}">-->
					<!--&lt;!&ndash;    <form method="post" action="/user_index/pwd">&ndash;&gt;-->
					<!--<p class="p5"><label>登录密码</label><input style="width: 5.44rem;" type="password" name="oldpwd" placeholder="请输入登录密码"></p>-->
					<!--<p class="p5"><label>新密码</label><input style="width: 5.44rem;" type="password" name="pwd" placeholder="设置新密码，长度在6-20个字符之间"></p>-->
					<!--<p class="p5"><label>重复密码</label><input style="width: 5.44rem;" type="password" name="repwd" placeholder="请再次输入新密码"></p>-->
					<!--<p class="p5 p5_f">-->
            <!--<span>-->
            <!--<label>验证码</label><input style="width: 3rem;" type="text" class="Txt22" name="phone_code" id="phone_code_login" placeholder="请输入短信验证码">-->
            <!--</span>-->
						<!--<label class="verify phone_code verify_code" name="getPhoneCode" onclick="Password.getPhoneCode(this)">获取短信验证码</label>-->
					<!--</p>-->
					<!--<p class="p5" style="margin-top: 0.7rem"><input type="submit" style="margin-top:0.3rem" class="input_news_password" value="确认修改" onclick="Password.loginPwd();"></p>-->
				<!--</form>-->
			<!--</div>-->
			<!--登录密码盒子 结束-->
			<!--交易密码盒子 开始-->
			<div class="cb-box1 tb-box1" id="tagContent1" style="display:block">
				
					<p class="p5"><label>登录密码</label><input style="width: 5.44rem;" id="password" name="password" placeholder="请输入登录密码"></p>
					<!-- <p class="p5"><label>交易密码</label><input style="width: 5.44rem;" type="password" name="oldpwdtrade" placeholder="请输入交易密码"></p> -->
					<p class="p5"><label>新交易密码</label><input style="width: 5.44rem;" type="password" id="pwd" name="pwd" placeholder="设置新密码，长度在6-20个字符之间"></p>
					<p class="p5"><label>重复交易密码</label><input style="width: 5.44rem;" type="password" id="repwd" name="repwd" placeholder="请再次输入新密码"></p>
					<p class="p5" style="margin-top: 0.7rem"><button  style="margin-top:0.3rem" class="input_news_password" onclick="aaa()" >确认修改</button></p>
				
				<!-- <p class="wangjijiaoyi" style="margin-top:0.1rem"><a href="/user_index/repwdtrade">忘记交易密码？</a></p> -->
			</div>
			<!--交易密码盒子 结束-->
			<div style="clear: both;"></div>
<script>
function aaa(){
$.post("{:U('User/updateTradeword')}",{'password':$("#password").val(),'pwd':$("#pwd").val(),'repwd':$("#repwd").val()},function(data){
if(data['status']==1){
layer.msg(data['info']);
setTimeout("t()",2000);
}else{
layer.msg(data['info']);
}
})
}
function t(){
	window.location.href="{:U('User/config')}";
	}
</script>
		</div>
		<div class="clear"></div>
	</div>
</div>
</body></html>